package org.cainiao.api.lark.dto.response.docs.space.folder;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;
import org.cainiao.api.lark.dto.response.LarkHasMore;

import java.io.Serial;
import java.util.List;

/**
 * <br />
 * <p>
 * Author: Cai Niao(wdhlzd@163.com)<br />
 */
@NoArgsConstructor
@AllArgsConstructor
@SuperBuilder
@Data
@EqualsAndHashCode(callSuper = true)
public class LarkFilePage extends LarkHasMore {

    @Serial
    private static final long serialVersionUID = -7851551240552742547L;

    /**
     * 分页标记，当 has_more 为 true 时，会同时返回下一次遍历的 page_token，否则则不返回
     */
    private String nextPageToken;

    private List<LarkFile> files;
}
